package com.lb.myeam.common.utils;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

public class PropertiesUtil {
	
	public static Properties load(String fileName){
		Properties props = new Properties();
		try {
			InputStream is = PropertiesUtil.class.getResourceAsStream("/"+fileName);
			props.load(is);
		} catch (IOException e) {
			e.printStackTrace();
		}
		return props;
	}

}
